<!-- page content -->
<div class="right_col" role="main">
    <div class="">
        <div class="page-title">
            <div class="title_left">
                <h3>
                    Thymeleaf Index Page
                </h3>
            </div>
        </div>

        <div class="clearfix"></div>
        <p>====== 下载图片 ======</p>
<!--        <a href="/test/file?fileName=Top剑帝Top.jpg">下载</a>-->
        <a href="/test/file?fileName=咩事1629775114532.jpg">下载图片</a>
        <p>====== 上传图片 ======</p>
        <p th:text="${message}">
        </p>
        <form action="/test/file" method="post" enctype="multipart/form-data">
            <input type="file" name="fileName"/>
            <input type="submit" value="上传"/>
        </form>

        <h3>Hello World!</h3>
        <p>====== th:text ====</p>
        <span th:text="${name}"></span>
        <div th:text="${name}"></div>

        <p>====== th:if,th:unless ====</p>
        <p th:if="${checked} == true">Yong people</p>
        <!-- 如果后面表达式为 false 显示-->
        <p th:unless="${checked} == false">Yong people</p>
        <p th:if="${currentNumber}&lt;100">小于100</p>
        <p th:if="${thymeleafTitle} == null">Title is null</p>
        <p th:if="${thymeleafTitle} != null">Title is not null</p>



        <p>====== th:replace ====</p>
        <div th:replace="test/temp"></div>
    </div>
</div>
<!-- /page content -->
